package com.tbit.uqbike.object.pojo;

import com.alibaba.fastjson.JSON;
import com.tbit.uqbike.object.value.TimeFee;
import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 分时计费传参
 * @Author: chen
 * @Description:
 * @Date: 创建于 14:03 2023/12/14
 */
@Data
public class TimeFeeVo {
    /**
     * 费用集合
     */
    private List<TimeFee> list;
    /**
     * 超级密码
     */
    private String operaPsw;
    /**
     * 区域id
     */
    private Integer accountId;
    /**
     * 计费类型
     */
    private Integer type;
    /**
     * 计费主键id 车辆计费+会员卡计费需要传递此字段
     */
    private Integer attachId;

//    public static void main(String[] args) {
//        TimeFeeVo timeFeeVo =new TimeFeeVo();
//        timeFeeVo.setAccountId(111);
//        timeFeeVo.setOperaPsw("dsdsadasd");
//        timeFeeVo.setType(0);
//        List<TimeFee> list = new ArrayList<>();
//        TimeFee timeFee= new TimeFee(null,111,"",0,5,1,2,1,0,0,0,0,0,0,0,0,0,0,1,1,200,100,1,1,0,0,0,null,new Date(),null,null,1,1,1,1,0,6,0,null);
//        list.add(timeFee);
//        timeFeeVo.setList(list);
//        System.out.println(JSON.toJSONString(timeFeeVo));
//    }
}
